package com.itheima.run;

public class Demo03 {

    public static void main(String[] args) {

        new  Thread(()->{
            for (int i = 0; i < 100; i++) {
                System.out.println("线程1执行到了"+i);
            }


        }).start();

        new  Thread(()->{
            for (int i = 0; i < 100; i++) {
                System.out.println("线程2执行到了"+i);
            }


        }).start();



    }
}
